package com.lq.educationsystem.examination.service;


import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.StudentExaminationPageVo;
import com.lq.educationsystem.examination.entiy.StudentExaminationTb;

import java.util.List;

public interface ExaminationStudentBaseService {

    void insertInfo(StudentExaminationTb studentExaminationInfo);

    void deleteById(Integer studentExaminationId);

    void updateInfo(StudentExaminationTb studentExaminationInfo);

    Result queryById(Integer studentExaminationId);

    ResultPage<StudentExaminationTb> queryList(StudentExaminationPageVo studentExaminationPageVo);

    /**
     * 通过考试id和考试学生id查询考试信息
     * @param examinationIdList
     * @param studentId
     * @return
     */
    ResultPage<StudentExaminationTb> queryStudentExaminationInfoByStudentIdAndExaminationId(List<Integer> examinationIdList, Integer studentId);

    Result addBatchStudentExaminationInfoByExaminationIdAndStudentId(List<Integer> studentIdInfoList, Integer examinationId);

}
